package com.rc.saas.mini.model.elec;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-04-24
 */

@ApiModel(value=" elec_pile ", description=" 充电桩信息表 ")
public class ElecPile extends BaseModel{ 

    @ApiModelProperty(value = "ID")
    private Long elecPileId;
 
    @ApiModelProperty(value = "运营商")
    private String tenantCode;
 
    @ApiModelProperty(value = "第三方运营商作为设备开放的充电站（正向对接）,关联hlht_operator表")
    private String hlhtOperatorId;
 
    @ApiModelProperty(value = "第三方运营商作为设备开放的桩编号（正向对接）")
    private String hlhtPileNo;
 
    @ApiModelProperty(value = "所属桩群")
    private Long elecStationId;
 
    @ApiModelProperty(value = "设备类型:1直流设备 2交流设备；3交直流一体设备  4无线设备 5其他  6.充电插座")
    private Integer pileType;
 
    @ApiModelProperty(value = "电桩类型(1单直流 2单交流 3双直流，4双交流，5交直流一体)")
    private Integer pileElecType;
 
    @ApiModelProperty(value = "桩编号,12位字符 4位运营商前缀+2位省ID+6位流水号")
    private String pileNo;
 
    @ApiModelProperty(value = "桩名称")
    private String pileName;
 
    @ApiModelProperty(value = "品牌")
    private String pileBand;
 
    @ApiModelProperty(value = "桩终端逻辑地址类型 0:12位 1:8位 默认0")
    private String pileRtuaType;
 
    @ApiModelProperty(value = "桩终端逻辑地址")
    private String pileRtua;
 
    @ApiModelProperty(value = "额定电流")
    private Integer current;
 
    @ApiModelProperty(value = "额定电压")
    private Integer voltage;
 
    @ApiModelProperty(value = "额定功率  单位（KW）")
    private BigDecimal power;
 
    @ApiModelProperty(value = "是否有车位 （0是 1否）默认0")
    private String hasParking;
 
    @ApiModelProperty(value = "车位号")
    private String parkingNo;
 
    @ApiModelProperty(value = "是否有地锁(0否 1是) 默认0")
    private String hasLock;
 
    @ApiModelProperty(value = "地锁编号")
    private String lockNo;
 
    @ApiModelProperty(value = "地锁状态（0关闭 1开启）默认 0")
    private String lockStatus;
 
    @ApiModelProperty(value = "登出时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date logoutTime;
 
    @ApiModelProperty(value = "桩程序版本号")
    private String programVersion;
 
    @ApiModelProperty(value = "设置密码")
    private String password;
 
    @ApiModelProperty(value = "设备生产商组织机构代码ID,关联tenant_manufacturer表")
    private Long manufacturerId;
 
    @ApiModelProperty(value = "设备生产商组织机构代码")
    private String hlhtManufacturerId;
 
    @ApiModelProperty(value = "设备生产商的名称")
    private String hlhtManufacturerName;
 
    @ApiModelProperty(value = "设备生产商定义的设备型号")
    private String equipmentModel;
 
    @ApiModelProperty(value = "设备生产日期yyyy-mm-dd")
    private String productionDate;
 
    @ApiModelProperty(value = "经度")
    private BigDecimal equipmentLng;
 
    @ApiModelProperty(value = "纬度")
    private BigDecimal equipmentLat;
 
    @ApiModelProperty(value = "多品牌充电服务器域名,STD_DOMAIN,ZC_DOMAIN")
    private String elecServerDomain;
 
    @ApiModelProperty(value = "配合elec_server_domain使用的同一品牌通讯协议的多部署分流器，默认0，表示只部署一个")
    private Integer elecServerSpliter;
 
    @ApiModelProperty(value = "登录状态: 0离线 1在线 默认0")
    private Integer status;
 
    @ApiModelProperty(value = "运营状态:0 未上线 1上线 2下线 默认0")
    private String operateStatus;
 
    @ApiModelProperty(value = "桩状态 0无 1正常 2整改 3拆除")
    private String pileStatus;
 
    @ApiModelProperty(value = "备注")
    private String remark;
 
    @ApiModelProperty(value = "0离线 1在线")
    private String elecOffOnline;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    public Long getElecPileId() {
        return elecPileId;
    }

    public void setElecPileId(Long elecPileId) {
        this.elecPileId = elecPileId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getHlhtOperatorId() {
        return hlhtOperatorId;
    }

    public void setHlhtOperatorId(String hlhtOperatorId) {
        this.hlhtOperatorId = hlhtOperatorId;
    }

    public String getHlhtPileNo() {
        return hlhtPileNo;
    }

    public void setHlhtPileNo(String hlhtPileNo) {
        this.hlhtPileNo = hlhtPileNo;
    }

    public Long getElecStationId() {
        return elecStationId;
    }

    public void setElecStationId(Long elecStationId) {
        this.elecStationId = elecStationId;
    }

    public Integer getPileType() {
        return pileType;
    }

    public void setPileType(Integer pileType) {
        this.pileType = pileType;
    }

    public Integer getPileElecType() {
        return pileElecType;
    }

    public void setPileElecType(Integer pileElecType) {
        this.pileElecType = pileElecType;
    }

    public String getPileNo() {
        return pileNo;
    }

    public void setPileNo(String pileNo) {
        this.pileNo = pileNo;
    }

    public String getPileName() {
        return pileName;
    }

    public void setPileName(String pileName) {
        this.pileName = pileName;
    }

    public String getPileBand() {
        return pileBand;
    }

    public void setPileBand(String pileBand) {
        this.pileBand = pileBand;
    }

    public String getPileRtuaType() {
        return pileRtuaType;
    }

    public void setPileRtuaType(String pileRtuaType) {
        this.pileRtuaType = pileRtuaType;
    }

    public String getPileRtua() {
        return pileRtua;
    }

    public void setPileRtua(String pileRtua) {
        this.pileRtua = pileRtua;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getVoltage() {
        return voltage;
    }

    public void setVoltage(Integer voltage) {
        this.voltage = voltage;
    }

    public BigDecimal getPower() {
        return power;
    }

    public void setPower(BigDecimal power) {
        this.power = power;
    }

    public String getHasParking() {
        return hasParking;
    }

    public void setHasParking(String hasParking) {
        this.hasParking = hasParking;
    }

    public String getParkingNo() {
        return parkingNo;
    }

    public void setParkingNo(String parkingNo) {
        this.parkingNo = parkingNo;
    }

    public String getHasLock() {
        return hasLock;
    }

    public void setHasLock(String hasLock) {
        this.hasLock = hasLock;
    }

    public String getLockNo() {
        return lockNo;
    }

    public void setLockNo(String lockNo) {
        this.lockNo = lockNo;
    }

    public String getLockStatus() {
        return lockStatus;
    }

    public void setLockStatus(String lockStatus) {
        this.lockStatus = lockStatus;
    }

    public Date getLogoutTime() {
        return logoutTime;
    }

    public void setLogoutTime(Date logoutTime) {
        this.logoutTime = logoutTime;
    }

    public String getProgramVersion() {
        return programVersion;
    }

    public void setProgramVersion(String programVersion) {
        this.programVersion = programVersion;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Long getManufacturerId() {
        return manufacturerId;
    }

    public void setManufacturerId(Long manufacturerId) {
        this.manufacturerId = manufacturerId;
    }

    public String getHlhtManufacturerId() {
        return hlhtManufacturerId;
    }

    public void setHlhtManufacturerId(String hlhtManufacturerId) {
        this.hlhtManufacturerId = hlhtManufacturerId;
    }

    public String getHlhtManufacturerName() {
        return hlhtManufacturerName;
    }

    public void setHlhtManufacturerName(String hlhtManufacturerName) {
        this.hlhtManufacturerName = hlhtManufacturerName;
    }

    public String getEquipmentModel() {
        return equipmentModel;
    }

    public void setEquipmentModel(String equipmentModel) {
        this.equipmentModel = equipmentModel;
    }

    public String getProductionDate() {
        return productionDate;
    }

    public void setProductionDate(String productionDate) {
        this.productionDate = productionDate;
    }

    public BigDecimal getEquipmentLng() {
        return equipmentLng;
    }

    public void setEquipmentLng(BigDecimal equipmentLng) {
        this.equipmentLng = equipmentLng;
    }

    public BigDecimal getEquipmentLat() {
        return equipmentLat;
    }

    public void setEquipmentLat(BigDecimal equipmentLat) {
        this.equipmentLat = equipmentLat;
    }

    public String getElecServerDomain() {
        return elecServerDomain;
    }

    public void setElecServerDomain(String elecServerDomain) {
        this.elecServerDomain = elecServerDomain;
    }

    public Integer getElecServerSpliter() {
        return elecServerSpliter;
    }

    public void setElecServerSpliter(Integer elecServerSpliter) {
        this.elecServerSpliter = elecServerSpliter;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getOperateStatus() {
        return operateStatus;
    }

    public void setOperateStatus(String operateStatus) {
        this.operateStatus = operateStatus;
    }

    public String getPileStatus() {
        return pileStatus;
    }

    public void setPileStatus(String pileStatus) {
        this.pileStatus = pileStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getElecOffOnline() {
        return elecOffOnline;
    }

    public void setElecOffOnline(String elecOffOnline) {
        this.elecOffOnline = elecOffOnline;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
